class Solution(object):
    def replaceDigits(self, s):
        t = ''
        for i in range(len(s)):
            if i % 2 == 0:
                t += s[i]
            else:
                t += chr(ord(s[i - 1]) + int(s[i]))
        return t